package com.niiwoo.civet.account.dto.common;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
public class AccountBatchTransOrderDTO implements Serializable{
    private static final long serialVersionUID = 370000102008724987L;
    private Long id;


    private String batchRequestNo;

    private Byte batchRefundType;

    private Byte tradeType;

    private Long projectId;

    private BigDecimal amount;

    private Integer currentPeriod;

    private Integer totalPeriod;

    private String projectTitle;

    private Date refundDate;

    private Long proTransOrderId;

    /**
     * 还款预处理请求号
     */
    private String freezeRequestNo;

    private String proxyPretransRequestNo;

    private String withholdRequestNo;

    private Byte repayStatus ;

    //是否提前结清
    private Boolean isOverDebt = false;

    //是否代扣还款，false表示否即余额还款，true表示代扣还款
    private Boolean isWithHoldRefund = false;

    //名义还款时间
    private Date titularRefundDate;

    private Date createTime;

    private Date updateTime;

    private String borrowerUserId;

    private String guaranteeUserId;

    private Long batchTransOrderId;
    /**
     * 记账时设置
     */
    private Long billBaseId;

    /**
     * 手动指定代扣金额
     */
    private BigDecimal withholdAmount = BigDecimal.ZERO;

    private String borrowerUserMobileNo;

    /**
     * 剩余应还金额
     */
    private BigDecimal toRefundAmount = BigDecimal.ZERO;

}